package com.dayuanit.dy16.spider.mapper;

import com.dayuanit.dy16.spider.entity.Navigation;

import java.util.List;

public interface NavigationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Navigation record);

    int insertSelective(Navigation record);

    Navigation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Navigation record);

    int updateByPrimaryKey(Navigation record);

    Navigation getByName(String name);

    List<Navigation> listByLevel(int level);
}